<div id="tag_container">
<div id="tag_list">
<p>
<span class="tag_class_label">材质分类：</span>
<?php foreach($this->level0 as $level0){?>
	<?php if(""!=$level0){?>
    	<?php if(null!=$this->currentTags&&in_array($level0, $this->currentTags)){?>
    		<span class="current-tag"><a href="<?php echo $this->baseUrl().'/shop/search/'.$this->shop->url_spell.'/tag/'.$this->currentTag($this->currentTags,$level0,0)?>"><?php echo $level0?></a></span>
    	<?php }else{?>
    		<span><a href="<?php echo $this->baseUrl().'/shop/search/'.$this->shop->url_spell.'/tag/'.$this->currentTag($this->currentTags,$level0,0)?>"><?php echo $level0?></a></span>
    	<?php }?>
	<?php }?>
<?php }?>
</p>
<p>
<span class="tag_class_label">特征描述：</span>
<?php foreach($this->level1 as $level1){?>
    <?php if(""!=$level1){?>
    	<?php if(null!=$this->currentTags&&in_array($level1, $this->currentTags)){?>
    		<span class="current-tag"><a href="<?php echo $this->baseUrl().'/shop/search/'.$this->shop->url_spell.'/tag/'.$this->currentTag($this->currentTags,$level1,1)?>"><?php echo $level1?></a></span>
    	<?php }else{?>
    		<span><a href="<?php echo $this->baseUrl().'/shop/search/'.$this->shop->url_spell.'/tag/'.$this->currentTag($this->currentTags,$level1,1)?>"><?php echo $level1?></a></span>
    	<?php }?>
	<?php }?>
<?php }?>
</p>
<p>
<span class="tag_class_label">是否镶嵌：</span>
<?php foreach($this->level2 as $level2){?>
	<?php if(""!=$level2){?>
    	<?php if(null!=$this->currentTags&&in_array($level2, $this->currentTags)){?>
    		<span class="current-tag"><a href="<?php echo $this->baseUrl().'/shangpin/tag/'.$this->currentTag($this->currentTags,$level2,2)?>"><?php echo $level2?></a></span>
    	<?php }else{?>
    		<span><a href="<?php echo $this->baseUrl().'/shop/search/'.$this->shop->url_spell.'/tag/'.$this->currentTag($this->currentTags,$level2,2)?>"><?php echo $level2?></a></span>
    	<?php }?>
	<?php }?>
<?php }?>
</p>
<p>
<span class="tag_class_label">题材：</span>
<?php foreach($this->level3 as $level3){?>
	<?php if(""!=$level3){?>
    	<?php if(null!=$this->currentTags&&in_array($level3, $this->currentTags)){?>
    		<span class="current-tag"><a href="<?php echo $this->baseUrl().'/shop/search/'.$this->shop->url_spell.'/tag/'.$this->currentTag($this->currentTags,$level3,3)?>"><?php echo $level3?></a></span>
    	<?php }else{?>
    		<span><a href="<?php echo $this->baseUrl().'/shop/search/'.$this->shop->url_spell.'/tag/'.$this->currentTag($this->currentTags,$level3,3)?>"><?php echo $level3?></a></span>
    	<?php }?>
	<?php }?>
<?php }?>
</p>
<p>
<span class="tag_class_label">用途分类：</span>
<?php foreach($this->level4 as $level4){?>
    <?php if(""!=$level4){?>
    	<?php if(null!=$this->currentTags&&in_array($level4, $this->currentTags)){?>
    		<span class="current-tag"><a href="<?php echo $this->baseUrl().'/shop/search/'.$this->shop->url_spell.'/tag/'.$this->currentTag($this->currentTags,$level4,4)?>"><?php echo $level4?></a></span>
    	<?php }else{?>
    		<span><a href="<?php echo $this->baseUrl().'/shop/search/'.$this->shop->url_spell.'/tag/'.$this->currentTag($this->currentTags,$level4,4)?>"><?php echo $level4?></a></span>
    	<?php }?>
	<?php }?>
<?php }?>
</p>
<?php if(isset($this->ResultsNum)){
	if($this->ResultsNum>0){
	    echo "<p class=\"result_info\">您当前选择的标签组合总计有".$this->ResultsNum."项结果</p>";
	}else{
	    echo "<p class=\"result_info\">您当前选择的标签组合没有查询结果，我们为你显示的是默认商品列表</p>";
	}
 }?>

</div>

<div id="tag_description">
<p>点击左侧的标签,可依据相应的标签对商品进行分类筛选。依据材质分类、特征描述、是否镶嵌、题材、用途分类这五组标签，你可以进行标签的组合筛选。有些标签组合可能会没有结果，此时会展示默认的商品。</p>
<p>标签背景为绿色的，代表是你当前选中的标签。如果你想消除某一当前选中的标签，再次单击该标签即可。</p>
</div>
</div>
<hr/>
<div class="seperator8"></div>
<div id="product-hot" class="product-list">
<div class="product-list-title"></div>
<ul>
<?php foreach($this->paginator as $item){?>
<li>
<div class="product-img">
<a href="<?php echo $this->baseUrl().'/shangpin/'.$item['item_url_spell'].'-pid'.$item['num_iid'].'.html'?>" target="_blank">
<img src="<?php echo $item['pic_url']?>_230x230.jpg" />
</a>
</div>
<div class="product-info">
<p><?php echo $item['title']?></p>
<p>
<?php if(1==$item['is_promotion']){?>
原价：<span style="text-decoration: line-through;"><?php echo $item['price']?></span>
<span style=" background-color: green; padding: 3px; color: white;"><?php echo $item['promotion_name']?></span><span style=" margin-left:5px; color: green; font-weight: bold;"><?php echo $item['promotion_price']?></span>
<?php }else{?>
价格：<?php echo $item['price']?>
<?php }?>
</p>
</div>
</li>
<?php }?>
</ul>
</div>
<div id="article-footinfo-area">
<?php echo $this->paginationControl($this->paginator,
                                    'Sliding',
                                    'my_pagination_control.phtml'); ?>
</div>
